Extend max vcpu number for HVM guest
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 29 Oct 2009 14:03:56 +0000 (14:03 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 29 Oct 2009 14:03:56 +0000 (14:03 +0000)
commitdd11df9b815419c73c2845df5e4f8433cb43d665
tree5535875f09b2119b0b33a12dd919304a6e58a46b
parent50cb039ecd1d6cf91dc5be4c1bfcd3140b5093ff
Extend max vcpu number for HVM guest

Reduce size of Xen-qemu shared ioreq structure to 32 bytes. This
has two advantages:
 1. We can support up to 128 VCPUs with a single shared page
 2. If/when we want to go beyond 128 VCPUs, a whole number of ioreq_t
    structures will pack into a single shared page, so a multi-page
    array will have no ioreq_t straddling a page boundary

Also, while modifying qemu, replace a 32-entry vcpu-indexed array
with a dynamically-allocated array.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Config.mk
xen/arch/ia64/vmx/mmio.c
xen/arch/ia64/vmx/vmx_init.c
xen/arch/ia64/vmx/vmx_support.c
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/io.c
xen/include/asm-ia64/vmx.h
xen/include/asm-x86/hvm/support.h
xen/include/public/hvm/ioreq.h